﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KulaTools
{
    /// <summary>
    /// Mostly used tools for DateTime
    /// </summary>
    public class Time
    {

        /// <summary>
        /// Gets GMT time regardless on what server this is run. (Azure, VPS, Local, etc ...)
        /// </summary>
        public static DateTime NowGMT(){
                return TimeZoneInfo.ConvertTimeBySystemTimeZoneId(DateTime.Now, "GMT Standard Time");
        }
    }
}
